﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.ServiceModel;

namespace Icst.Leaflike.Client
{
    public interface ISearchServiceClient : ISearchService, IClientChannel { }

    public class SearchServiceClient : ClientBase<ISearchServiceClient>, ISearchService
    {
        public SearchServiceClient() { }

        public Plant[] SearchPlants(Contour contour, int maxcount)
        {
            return base.Channel.SearchPlants(contour,maxcount);
        }

        public Contour[] SearchContours(byte[] bytes)
        {
            return base.Channel.SearchContours(bytes);
        }

        public Contour[] SearchContoursByUrl(string url)
        {
            return base.Channel.SearchContoursByUrl(url);
        }

        public Contour[] SearchContoursByPath(string path)
        {
            return base.Channel.SearchContoursByPath(path);
        }
    }
}
